<template>
  <div class="background">
    <a-tabs default-active-key="1" size="large">
      <a-tab-pane v-for="(item, index) in tabOption" :key="item.key_value" :tab="item.key_name">
        <component :is="item.component" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DangCheGong from './DangCheGong.vue'
import FuZhuGong from './FuZhuGong.vue'
import BaoShouTuo from './BaoShouTuo.vue'
import LuoTongPinZhongGongDingCanShu from './LuoTongPinZhongGongDingCanShu.vue'
export default {
  components: { DangCheGong,FuZhuGong,BaoShouTuo,LuoTongPinZhongGongDingCanShu},
  data() {
    return {
      tabOption: [
        { key_value: '1', key_name: '自络', component: 'DangCheGong' },
        { key_value: '2', key_name: '普工', component: 'FuZhuGong' },
        // { key_value: '3', key_name: '抱收砣', component: 'BaoShouTuo' },
        { key_value: '4', key_name: '络筒品种公定参数', component: 'LuoTongPinZhongGongDingCanShu' },
      ],
      importVisible: false
    }
  },
  mounted() {},
  methods: {}
}
</script>

<style>
.background {
  padding: 0 15px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 1px 4px 4px rgb(0, 0, 0, 0.05);
}
</style>
